package com.xiaoma.springbootannotation.test;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @Author: xiaoma
 * @Date: 2021/9/15 14:08
 */
@Component
@Scope("prototype")
public class B {
    public void print(){
        System.out.println("B:"+this);
    }
}
